$OpenBSD: patch-src_bindings_cc,v 1.4 2014/09/16 23:41:41 jturner Exp $

Check ${LOCALBASE} for help file.

--- src/bindings.cc.orig	Tue Sep 16 13:29:01 2014
+++ src/bindings.cc	Tue Sep 16 18:45:20 2014
@@ -19,7 +19,7 @@
 
 
 #include <algorithm>
-#include <cursesw.h>
+#include <curses.h>
 #include <fstream>
 #include <iostream>
 #include <map>
@@ -724,9 +724,9 @@ int show_help(lua_State * L)
      */
     if (str == NULL)
     {
-        if ( CFile::exists( "/usr/share/lumail/lumail.help" ))
+        if ( CFile::exists( "${LOCALBASE}/share/lumail/lumail.help" ))
         {
-            lua_pushstring(L, "/usr/share/lumail/lumail.help"  );
+            lua_pushstring(L, "${LOCALBASE}/share/lumail/lumail.help"  );
             show_file_contents( L );
             CLua::Instance()->execute( "global_mode( \"text\" )" );
             return 0;
